/* Nota: originariamente c'era anche uno script con effetti molto complessi
 *       sfortunatamente faceva sbroccare jQueryUI, quindi l'ho levato.
 *
 *       Direi che ci accontentiamo degli sfondi così come sono, se 
 *       qualcuno ha voglia si può ricostruire il funzionamento. [J]
 */

/* Reset */
#menu * {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-decoration: none;
}
div#menu {
position:relative;}
#menu ul.menu {
  white-space: nowrap;
}

/* Geometrical arrangement */
#menu ul.menu li {
  display: inline-block;
  height: 46px;
  position: relative;
}

/** Graphics **/

/* Horizontal sliding doors */
#menu ul.menu li a {
  padding-left: 14px;
  background-image: url("../images/menu_hz_images/item1.png");
  background-repeat: no-repeat;
  background-position: left -1000px;
  display: inline-block;
  margin: 10px 2px;
}

#menu ul.menu li a span {
  padding-right: 14px;
  padding-left: 30px;
  background-image: url("../images/menu_hz_images/item1.png");
  background-repeat: no-repeat;
  background-position: right -1000px;
  display: inline-block;
  height: 27px;
  line-height: 27px;
  cursor: pointer;
}

#menu ul.menu li:hover a {
  background-position: left -54px;
}

#menu ul.menu li:hover a span {
  background-position: right -81px;
}

#menu ul.menu li.active a {

  background-position: left 0px;
}

#menu ul.menu li.active a span {
		color: #EB2E83;
  background-position: right -27px;
}


/* Hover Effect on Submenus */
#menu ul.menu ul li:hover
{

}

#menu ul.menu li.active ul li a span:hover {
	color:#EB2E83;}
	
#menu ul.menu ul li a span:hover
{
	color:#EB2E83; 
}


/* Main header line */
#menu {
  height: 46px;
  padding-left: 14px;
  background:transparent url(../images/menu_hz_images/bg.png) repeat-x;
}

/* Text shadow */
#menu span
{
  color: #24CCF7;
}

#menu li:hover>a>span 
{
  color: #EB2E83;
}

/* Fonts */
#menu ul.menu li a span
{ 
  font-family: Arial;
  font-size: 13px;
  font-weight: 600;
}


/* Menu logic */
#menu li>div { visibility: hidden; }
#menu li:hover>div { visibility: visible; }
/* */

/* Hover Effect on Submenus */
#menu ul.menu ul li:hover
{
  background-color: #fff;
}

/* ie7 */
#menu ul.menu li {
  *zoom: 1;
  *display: inline;
}

#menu ul.menu li a {
  *zoom: 1;
  *display: inline;
}

#menu ul.menu li a span {
  *zoom: 1;
  *display: inline;
}

/* IE6 */
#menu ul.menu li a {
  _background-image: url("../images/menu_hz_images/item.gif");
}

#menu ul.menu li a span {
  _background-image: url("../images/menu_hz_images/item.gif");
}

#menu ul.menu li a:hover {
  _background-position: left -54px;
}

#menu ul.menu li a:hover span {
  _background-position: right -81px;
  _color: #EB2E83;
}
#menu ul.menu li li a:hover span {
  _color:#EB2E83; 
}

/* Menu logic for IE6 */
#menu div { _display: none; }
#menu div li:hover div { _visibility: visible;_display: block; }
#menu div li:hover li:hover div { _display: block; }
#menu div li:hover li:hover li:hover div { _display: block; }
/* */
